package com.fitness.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fitness.common.annotation.Excel;

import java.util.Date;

/**
 * @version 1.0
 * @program: Fitness-Vue
 * @description:
 * @author: tanghaozhe
 * @createDate: 2025-08-07 17:27
 * @email 2172227341@qq.com
 **/
public class StudentInformationDTO {
    /** （主键自增） */
    private Long studentId;

    /** 学号 */
    private String studentNumber;

    /** 学生姓名 */
    private String studentName;

    /** 性别 */
    private String sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    /** 所属专业 */
    private String major;

    /** 年级 */
    private String grade;

    /** 班级标识 */
    private String classId;

    /** 联系电话 */
    private String phone;

    /** 电子邮箱 */
    private String email;

    @Override
    public String toString() {
        return "StudentInformationDTO{" +
                "studentNumber='" + studentNumber + '\'' +
                ", studentName='" + studentName + '\'' +
                ", sex='" + sex + '\'' +
                ", birthDate=" + birthDate +
                ", major='" + major + '\'' +
                ", grade='" + grade + '\'' +
                ", classId='" + classId + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public String getStudentName() {
        return studentName;
    }

    public String getSex() {
        return sex;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public String getMajor() {
        return major;
    }

    public String getGrade() {
        return grade;
    }

    public String getClassId() {
        return classId;
    }

    public String getPhone() {
        return phone;
    }

    public String getEmail() {
        return email;
    }
}
